3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
6 * Copyright (c) 2001-2013 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
11 \***************************************************************************/
13 if (!defined("_ECRIRE_INC_VERSION")) return;
15 include_spip('lib/iCalcreator.class'); /*pour la librairie icalcreator incluse dans le plugin icalendar*/
17 function action_synchro_almanach_dist() {
19 //vérification de l'auteur en cours//
20 $securiser_action = charger_fonction('securiser_action', 'inc');
21 $arg = $securiser_action();
23 if (!preg_match(",^(\d+)$,", $arg, $r)) {
24 spip_log("action_synchro_almanach_dist $arg pas compris");